lib/fetcher-util: Use GIOErrorEnum instead of GIOError
authorRobert Fairley <rfairley@redhat.com>
Wed, 8 May 2019 23:15:53 +0000 (19:15 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 20 May 2019 13:09:28 +0000 (13:09 +0000)
commit4929fc38e98a384d4f29d8710338b9e2e750f5a7
treebecfb23309c35650f9f655aa8ad2dcde6cd56334
parente493505ade01d3d03a0b366bee611cd710f72909
lib/fetcher-util: Use GIOErrorEnum instead of GIOError

Use GIOErrorEnum as the return value for
_ostree_fetcher_http_status_code_to_io_error(), to avoid an
implicit cast from GIOError.

Closes: #1857
Approved by: cgwalters
src/libostree/ostree-fetcher-util.c
src/libostree/ostree-fetcher-util.h